package com.example.spinning.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class SpinningSummary {
    private int id;
    private String customer;
    private String workshop;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp date;
    private String batch_no;
    private String num;
    private String composition;
    private String color;
    private float feeding_num;
    private float production_num;
    private float waste;
    private float wool_waste;
    private float sweeper;
    private float moisture;
    private float reduction_rate;
    private float yield;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp ending_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp deliver_time;
    private String pack_requirement;


    private String remarks;
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getWorkshop() {
        return workshop;
    }

    public void setWorkshop(String workshop) {
        this.workshop = workshop;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getComposition() {
        return composition;
    }

    public void setComposition(String composition) {
        this.composition = composition;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public float getFeeding_num() {
        return feeding_num;
    }

    public void setFeeding_num(float feeding_num) {
        this.feeding_num = feeding_num;
    }

    public float getProduction_num() {
        return production_num;
    }

    public void setProduction_num(float production_num) {
        this.production_num = production_num;
    }

    public float getWaste() {
        return waste;
    }

    public void setWaste(float waste) {
        this.waste = waste;
    }

    public float getWool_waste() {
        return wool_waste;
    }

    public void setWool_waste(float wool_waste) {
        this.wool_waste = wool_waste;
    }

    public float getSweeper() {
        return sweeper;
    }

    public void setSweeper(float sweeper) {
        this.sweeper = sweeper;
    }

    public float getMoisture() {
        return moisture;
    }

    public void setMoisture(float moisture) {
        this.moisture = moisture;
    }

    public float getReduction_rate() {
        return reduction_rate;
    }

    public void setReduction_rate(float reduction_rate) {
        this.reduction_rate = reduction_rate;
    }

    public float getYield() {
        return yield;
    }

    public void setYield(float yield) {
        this.yield = yield;
    }

    public Timestamp getEnding_time() {
        return ending_time;
    }

    public void setEnding_time(Timestamp ending_time) {
        this.ending_time = ending_time;
    }

    public Timestamp getDeliver_time() {
        return deliver_time;
    }

    public void setDeliver_time(Timestamp deliver_time) {
        this.deliver_time = deliver_time;
    }

    public String getPack_requirement() {
        return pack_requirement;
    }

    public void setPack_requirement(String pack_requirement) {
        this.pack_requirement = pack_requirement;
    }
    @Override
    public String toString() {
        return "SpinningSummary{" +
                "id=" + id +
                ", customer='" + customer + '\'' +
                ", workshop='" + workshop + '\'' +
                ", date=" + date +
                ", batch_no='" + batch_no + '\'' +
                ", num='" + num + '\'' +
                ", composition='" + composition + '\'' +
                ", color='" + color + '\'' +
                ", feeding_num=" + feeding_num +
                ", production_num=" + production_num +
                ", waste=" + waste +
                ", wool_waste=" + wool_waste +
                ", sweeper=" + sweeper +
                ", moisture=" + moisture +
                ", reduction_rate=" + reduction_rate +
                ", yield=" + yield +
                ", ending_time=" + ending_time +
                ", deliver_time=" + deliver_time +
                ", pack_requirement='" + pack_requirement + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }

}
